FROM openjdk:8-jdk-alpine
MAINTAINER Stephen Evenson

RUN mkdir /root/images
VOLUME /tmp
VOLUME /root/images
ADD contactsweb-0.0.1-SNAPSHOT.jar app.jar
ENV TZ=Asia/Shanghai
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]